//
//  UIView+YQTool.h
//  PensionDoctor
//
//  Created by tbb on 2019/6/28.
//  Copyright © 2019 YQ. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,kRoundedSetViewType){
    kRoundedSetViewTypeLTB,
    kRoundedSetViewTypeRTB,
    kRoundedSetViewTypeTRL,
    kRoundedSetViewTypeBRL
};
NS_ASSUME_NONNULL_BEGIN
typedef void(^ActionBlock)(id sender);
@interface UIView (YQTool)
-(void)addTapAction:(ActionBlock)action;
//指定圆角
+(void)roundedSetView:(UIView *)View cornerRadius:(CGFloat)radius Type:(kRoundedSetViewType)type;

+ (void)addShadowToView:(UIView *)view
            withOpacity:(float)shadowOpacity
           shadowRadius:(CGFloat)shadowRadius
        andCornerRadius:(CGFloat)cornerRadius;
@end

NS_ASSUME_NONNULL_END
